package za.ac.lance.dependencyinversionprinciple.violates.model;

/**
 * File Name: SuperWorker.java
 * Version:
 * Description: SuperWorker is later added to the program due to change in
 * business roles
 * Package: za.ac.lance.dependencyinversionprinciple.violates
 * Author: Lance
 * Date: Feb 24, 2012
 */
public class SuperWorker
{

    private String firstName;
    private String middleName;
    private String lastName;
    private int empID;

    public SuperWorker(String firstName, String middleName, String lastName, int empID)
    {
        this.firstName = firstName;
        this.middleName = middleName;
        this.lastName = lastName;
        this.empID = empID;
    }

    public int getEmpID()
    {
        return empID;
    }

    public void setEmpID(int empID)
    {
        this.empID = empID;
    }

    public String getFirstName()
    {
        return firstName;
    }

    public void setFirstName(String firstName)
    {
        this.firstName = firstName;
    }

    public String getLastName()
    {
        return lastName;
    }

    public void setLastName(String lastName)
    {
        this.lastName = lastName;
    }

    public String getMiddleName()
    {
        return middleName;
    }

    public void setMiddleName(String middleName)
    {
        this.middleName = middleName;
    }

    public void work()
    {
        System.out.println("SuperWorker is doing more work");
    }
}
